package com.example.design01.Dao;

import com.example.design01.Bean.StaffBean;
import com.example.design01.Bean.UserBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("UserMapper")
public interface UserMapper {

    //    登陆
    UserBean checkUser(@Param("nickname") String nickname, @Param("password") String password);

    //    注册
    int addUser(UserBean userBean);

    //    修改密码
    int updateUser(@Param("password") String password);

}
